﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using System.Data;

namespace WebPeajes.Paginas
{
    public partial class ManttoEstaciones : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dt = new DataTable();
            dt.Columns.Add("ID");
            dt.Columns.Add("Descripcion");
            dt.Columns.Add("Estado");

            DataRow dr1 = dt.NewRow();
            dr1["ID"] = "1";
            dr1["Descripcion"] = "Cabina 1";
            dr1["Estado"] = true;
            dt.Rows.Add(dr1);

            DataRow dr2 = dt.NewRow();
            dr2["ID"] = "2";
            dr2["Descripcion"] = "Cabina 2";
            dr2["Estado"] = true;
            dt.Rows.Add(dr2);

            GvCabinas.DataSource = dt;
            GvCabinas.DataBind();
        }
    }
}